package cn.wyl.org.service;

import cn.wyl.basic.dto.ShopDto;
import cn.wyl.basic.service.BaseService;
import cn.wyl.basic.util.AxiousResult;
import cn.wyl.org.domain.Shop;
import cn.wyl.org.domain.ShopAuditLog;

import javax.mail.MessagingException;
import java.util.List;

public interface ShopService extends BaseService<Shop> {
    //注册店铺
    void settlement(Shop shop) throws Exception;

    //审核通过店铺
    void pass(ShopAuditLog log) throws MessagingException;

    //审核驳回店铺
    void reject(ShopAuditLog log) throws MessagingException;

    List<ShopDto> getCountByState();
}
